﻿using System.Data;

namespace HW3
{
    class Prop
    {

        public DataTable SimaluationTable{ get; set; }

        public DataTable AdditionalTempRandomTable { get; set; }

        public DataTable DataTable1 { get; set; }

        public DataTable DataTable2 { get; set; }

        public int[] Table1{ get; set; }

        public double [] Table2 { get; set; }

        public int[] OrderSize{ get; set; }

        public int OrderPrice { get; set; }

        public int StorePrice{ get; set; }

        public int LostPrice { get; set; }

        public int InitialAmount { get; set; }

        public int TimeLength { get; set; }
        
        public int QuantitySimulation { get; set; }

        public double[] DailyOutcome { get; set; }

        public double DailyOutcomeAvg { get; set; }

        public double OrderMaxCondition { get; set; }

        public double AverageAmountOfOrders { get; set; }
        
        public double AverageAmountOfLosses{ get; set; }

        public Prop()
        {
            SetSimaluationTable();
            AverageAmountOfOrders = 0;
            AverageAmountOfLosses = 0;
        }


        private void SetSimaluationTable()
        {
            SimaluationTable = new DataTable();
            SimaluationTable.Columns.Add("Month");
            SimaluationTable.Columns.Add("Income");
            SimaluationTable.Columns.Add("Storage");
            SimaluationTable.Columns.Add("Random number1");
            SimaluationTable.Columns.Add("Bought");
            SimaluationTable.Columns.Add("Left");
            SimaluationTable.Columns.Add("Sells lost");
            SimaluationTable.Columns.Add("Order or not");
            SimaluationTable.Columns.Add("Random number2");
            SimaluationTable.Columns.Add("Delivery");
            SimaluationTable.Columns.Add("Waiting delivery");      
        }
        
    }

}
